package cn.wgx.common.entity.base;

import cn.wgx.common.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class BaseUser extends BaseEntity {

    protected Integer USER_TYPE = -1;

    @TableId(type = IdType.AUTO)
    protected Integer user_id;
    protected String username;
    protected String mima;

    protected String payMima;

    @TableField(condition = SqlCondition.LIKE)
    protected String nickname;
    protected String salt;
    protected Integer type;
    protected String signature;
    protected String keyWord;
    protected String country;
    protected String province;
    protected String city;
    protected String job;
    protected Integer sex;
    protected String photo;
    protected String QQ;
    protected String phone;
    protected String email;
    protected Integer status;
    protected String phoneCheck;
    protected String emailCheck;
    protected Integer is_delete;

}
